﻿CREATE TABLE [dbo].[Car] (
    [Id]                 UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL,
    [Name]               NVARCHAR (32)    NOT NULL,
    [PlateNo]            NVARCHAR (56)    NULL,
    [LastModifiedTime]   DATETIME         NULL,
    [LastModifiedUserID] UNIQUEIDENTIFIER NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK297C952811E65B0E] FOREIGN KEY ([LastModifiedUserID]) REFERENCES [dbo].[UserProfile] ([ID])
);

